'use client';

import VideoPlayer from './VideoPlayer';

export default function VideoPlayerWrapper({ url, title, isLive }) {
    const handleError = error => {
        console.error('播放器错误:', error);
    };

    return <VideoPlayer url={url} title={title} isLive={isLive} onError={handleError} />;
}
